Improve ReactPy v2 Django compatibility#1340
Open
Archmonger wants to merge 19 commits intoreactive-python:mainfrom
Open
Improve ReactPy v2 Django compatibility#1340Archmonger wants to merge 19 commits intoreactive-python:mainfrom
Archmonger wants to merge 19 commits intoreactive-python:mainfrom
Conversation
This reverts commit 5171a1a.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Some tweaks to improve ReactPy-Django integration
shieldoption touse_async_effectuse_statecould throw an exception when converting a value fromset_state(<Object>)toset_state(None).REACTPY_MAX_QUEUE_SIZEsetting to allow users to constrain ReactPy memory usagepyscriptutils more extensible so Django can leverage themThreadLocaltoContextVarto avoid hook state clashes@reactpy/clientwill now always embed the HTTP URL into the websocket in order to provide immediate URL access toreactpy-router.@reactpy/clientnow debounces<input>events in order to prevent<input>data corruption during rapid inputs (on controlled inputs).Checklist
Please update this checklist as you complete each item:
By submitting this pull request I agree that all contributions comply with this project's open source license(s).